<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title>商务结算管理</title>
		<meta name="viewport" content="width=device-width, initial-scale=1,maximum-scale=1,user-scalable=no">
		<meta name="apple-mobile-web-app-capable" content="yes">
		<meta name="apple-mobile-web-app-status-bar-style" content="black">

		<link rel="stylesheet" href="../css/mui.min.css">
				<link rel="stylesheet" type="text/css" href="../css/base2.css" />
	</head>

	<body>
		<header class="mui-bar mui-bar-nav">
		    <a class="mui-action-back mui-icon mui-icon-left-nav mui-pull-left"></a>
		    <a class="mui-icon mui-icon-plus mui-pull-right" style="color: #fff;" id="btnAdd"></a>
		    <h1 class="mui-title">商务结算管理</h1>
		    
		</header>
		<div class="mui-content"></div>
	</body>
	<script src="../js/mui.min.js"></script>
	<script src="../js/wf.js"></script>
	<script src="../js/zepto.min.js"></script>
	<script type="text/javascript">
	//启用双击监听
	(function(doc) {
		mui.plusReady(function() {	
			var self = plus.webview.currentWebview();
			var username = self.username;	
			var proid=self.proid;
			var value=self.value;
			mui.init({
				gestureConfig:{
					doubletap:true
				},
				subpages:[{
					url:'businesslistsub.html',
					id:'businesslistsub',
					extras: {
							username: username,
							proid:proid,
							value:value
					},
					styles:{
						top: '45px',
						bottom: '0px',
					}
				}]
			});
			
			
			$("#btnAdd").on("tap",function(){
					mui.openWindow({
					url: 'businessupload.html',
					id: 'businessuploadadd',
					extras:{
			       	username:username,
					proid:proid,
					value:value}
						
					});	
			});
			
		});
	}(document));
	var contentWebview = null;
	document.querySelector('header').addEventListener('doubletap',function () {
		if(contentWebview==null){
			contentWebview = plus.webview.currentWebview().children()[0];
		}
		contentWebview.evalJS("mui('#pullrefresh').pullRefresh().scrollTo(0,0,100)");
	});
		
	
	</script>

</html>